Managing Code-block Numbering
The Code Expert editor lets you insert block numbers into your NC files. The following procedure describes how to change the default numbering behavior.
To set code-block numbering attributes:
- Load an NC file into Code Expert's editor.
-
Select the NC Functions tab.
-
Click NC Configuration.
The NC Configuration dialog box displays.
-
Click Block Numbering.
- Set Starting number to the value at which numbering will begin.
- Set Maximum number to the largest allowable block number. If block numbers reach this maximum value, they resume at the starting number.
- Set Increment to the value that Code Expert will add to the last block number to get the next.
- Set Prefix with to the character to use as a number prefix.
- To number blank lines, select Number empty lines.
- To number comment lines, select Number commented lines.
- Click OK to finalize your settings.
- If the currently loaded file already contains block numbers, click Remove Block Numbers.
- Click Insert Block Numbers. Code Expert numbers the code as specified in the Insert Block Numbers dialog box.





